package com.design.decorate;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-07-22 15:47
 * @Description:
 */
public class CarDecorate extends AbstractPersonDecorate {



    public CarDecorate(Person person) {
        super(person);
    }

    public void poem(){
        System.out.println("静夜思");
    }

    @Override
    public void say() {
        super.say();
        poem();
    }
}
